package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;


/**
 * <p>
 * 系列团游客分组
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-1
 */
@Data
@ApiModel(value="系列团游客分组", description="系列团游客分组")
public class SeriesRoomGroupReq implements Serializable {

    private static final long serialVersionUID = 1769934457414690573L;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "团期id")
    private Long scheduleId;

    @NotNull(message = "分组类型不能为空")
    @ApiModelProperty(value = "1手动分组 2自动分组",required = true)
    private String type;

    @ApiModelProperty(value = "分组次数")
    private Integer que;

    @NotNull(message = "游客id不能为空")
    @ApiModelProperty(value = "游客id",required = true)
    private List<Long> ids;

    @ApiModelProperty(value = "批量分组id")
    private Long groupId;

}
